Skip to content

[chore](dep) pin esdk-obs-java-bundle to 3.21.11 to fix version range resolution failure#63278

Merged
hello-stephen merged 1 commit into
apache:masterfrom
hello-stephen:fix/pin-esdk-obs-version
May 15, 2026
Merged

[chore](dep) pin esdk-obs-java-bundle to 3.21.11 to fix version range resolution failure#63278
hello-stephen merged 1 commit into
apache:masterfrom
hello-stephen:fix/pin-esdk-obs-version

Conversation

@hello-stephen
Copy link
Copy Markdown
Contributor

@hello-stephen hello-stephen commented May 15, 2026

Problem

The version [3.21.11,) in fe/pom.xml is a Maven version range, which requires Maven to download maven-metadata.xml from every configured repository and merge the results before selecting a version.

The Huawei OBS Maven repository (https://repo.huaweicloud.com/repository/maven/huaweicloudsdk/) does not carry this artifact at all (returns 404 for its metadata) or is not stable. This causes maven-remote-resources-plugin to fail the entire range resolution and report:

No versions are present in the repository for the artifact with a range [3.21.11,)
  com.huaweicloud:esdk-obs-java-bundle:jar:null

Fix

Pin the version to the specific minimum 3.21.11, which is available on Maven Central (and its mirrors such as aliyunmaven).

With a fixed version, Maven resolves the artifact by trying repositories one by one and succeeds as soon as any working repository (e.g. aliyunmaven) responds — it no longer depends on the unstable Huawei OBS repository for range resolution.

Verification

3.21.11 is confirmed present on Maven Central:

https://repo1.maven.org/maven2/com/huaweicloud/esdk-obs-java-bundle/3.21.11/

… resolution failure

The version range `[3.21.11,)` causes build failures because the Huawei
OBS Maven repository (repo.huaweicloud.com/repository/maven/huaweicloudsdk/)
does not have the artifact metadata for this library, so Maven cannot resolve
the range and reports `jar:null`. Pin to the minimum required version 3.21.11,
which is available on Maven Central (aliyunmaven mirror), making the build
resilient to the unstable Huawei OBS repository.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@hello-stephen
Copy link
Copy Markdown
Contributor Author

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR.

Please clearly describe your PR:

  1. What problem was fixed (it's best to include specific error reporting information). How it was fixed.
  2. Which behaviors were modified. What was the previous behavior, what is it now, why was it modified, and what possible impacts might there be.
  3. What features were added. Why was this function added?
  4. Which code was refactored and why was this part of the code refactored?
  5. Which functions were optimized and what is the difference before and after the optimization?

@hello-stephen
Copy link
Copy Markdown
Contributor Author

/review

Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed PR 63278. I did not find any blocking issues.

Critical checkpoint conclusions:

  • Goal and proof: The PR aims to avoid Maven range-resolution failures for com.huaweicloud:esdk-obs-java-bundle by replacing [3.21.11,) with fixed 3.21.11. The changed property is used by FE OBS dependency management and fe-filesystem-obs; a targeted mvn -pl fe-filesystem/fe-filesystem-obs -am dependency:tree -Dincludes=com.huaweicloud:esdk-obs-java-bundle -DskipTests -Dskip.doc=true completed successfully and resolved 3.21.11.
  • Scope/focus: The change is small and focused on the problematic dependency property.
  • Concurrency/lifecycle: Not applicable; this is a build dependency pin only.
  • Configuration/compatibility: No runtime config, persisted format, protocol, or rolling-upgrade compatibility impact found.
  • Parallel paths: The parent property covers the FE OBS module usage. Other Maven modules using Huawei dependencies were checked at a high level; no distinct required follow-up was found for this PR scope.
  • Tests/results: No test outputs are modified. Dependency resolution was verified with Maven for the affected FE OBS module.
  • Observability/transactions/data writes/performance: Not applicable to this dependency-resolution change.
  • User focus: No additional user-provided review focus was present.

@hello-stephen
Copy link
Copy Markdown
Contributor Author

run buildall

@hello-stephen
Copy link
Copy Markdown
Contributor Author

TPC-H: Total hot run time: 29388 ms
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/tpch-tools
Tpch sf100 test result on commit 151e614ea07cde5f038d7351497aa96281028c9a, data reload: false

------ Round 1 ----------------------------------
orders	Doris	NULL	NULL	0	0	0	NULL	0	NULL	NULL	2023-12-26 18:27:23	2023-12-26 18:42:55	NULL	utf-8	NULL	NULL	
============================================
q1	17611	3827	3769	3769
q2	q3	10715	861	608	608
q4	4656	456	341	341
q5	7454	1365	1137	1137
q6	187	164	137	137
q7	914	941	744	744
q8	9339	1418	1261	1261
q9	5536	5409	5346	5346
q10	6244	2076	1831	1831
q11	462	270	266	266
q12	626	407	289	289
q13	18105	3232	2732	2732
q14	292	284	266	266
q15	q16	855	872	791	791
q17	885	1001	723	723
q18	6413	5740	5538	5538
q19	1170	1207	1026	1026
q20	529	394	255	255
q21	4859	2352	1972	1972
q22	491	405	356	356
Total cold run time: 97343 ms
Total hot run time: 29388 ms

----- Round 2, with runtime_filter_mode=off -----
orders	Doris	NULL	NULL	150000000	42	6422171781	NULL	22778155	NULL	NULL	2023-12-26 18:27:23	2023-12-26 18:42:55	NULL	utf-8	NULL	NULL	
============================================
q1	4794	4781	4841	4781
q2	q3	4707	4790	4175	4175
q4	2151	2156	1400	1400
q5	4999	5023	5259	5023
q6	197	167	136	136
q7	2114	1776	1632	1632
q8	3360	3095	3100	3095
q9	8374	8442	8407	8407
q10	4452	4509	4227	4227
q11	600	443	384	384
q12	702	750	519	519
q13	3189	3600	2899	2899
q14	300	305	278	278
q15	q16	756	780	697	697
q17	1467	1282	1249	1249
q18	7977	7239	7137	7137
q19	1177	1140	1159	1140
q20	2234	2220	1994	1994
q21	6097	5362	4826	4826
q22	559	534	415	415
Total cold run time: 60206 ms
Total hot run time: 54414 ms

@hello-stephen
Copy link
Copy Markdown
Contributor Author

TPC-DS: Total hot run time: 170906 ms
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/tpcds-tools
TPC-DS sf100 test result on commit 151e614ea07cde5f038d7351497aa96281028c9a, data reload: false

query5	4321	638	507	507
query6	328	211	202	202
query7	4236	570	304	304
query8	320	230	218	218
query9	8812	3996	3966	3966
query10	436	337	294	294
query11	5896	2438	2199	2199
query12	187	130	124	124
query13	1300	575	454	454
query14	6853	5311	5036	5036
query14_1	4337	4337	4300	4300
query15	215	208	224	208
query16	1026	448	420	420
query17	1122	736	606	606
query18	2717	482	344	344
query19	221	200	155	155
query20	143	139	135	135
query21	215	131	117	117
query22	13597	13996	14568	13996
query23	17299	16525	16166	16166
query23_1	16373	16313	16357	16313
query24	7384	1734	1331	1331
query24_1	1339	1328	1367	1328
query25	545	484	413	413
query26	1058	311	163	163
query27	2724	587	329	329
query28	4418	1947	1905	1905
query29	971	645	502	502
query30	300	232	194	194
query31	1117	1068	931	931
query32	91	68	68	68
query33	522	334	272	272
query34	1151	1133	635	635
query35	748	788	665	665
query36	1361	1330	1158	1158
query37	154	98	85	85
query38	3209	3128	3081	3081
query39	915	900	896	896
query39_1	873	875	867	867
query40	236	197	135	135
query41	63	59	58	58
query42	108	105	102	102
query43	315	319	278	278
query44	
query45	200	198	197	197
query46	1089	1168	717	717
query47	2343	2343	2284	2284
query48	392	409	295	295
query49	638	531	433	433
query50	739	283	223	223
query51	4309	4191	4296	4191
query52	104	102	95	95
query53	265	277	199	199
query54	309	270	247	247
query55	93	88	83	83
query56	300	298	304	298
query57	1410	1400	1334	1334
query58	292	271	272	271
query59	1524	1617	1398	1398
query60	346	331	316	316
query61	162	155	158	155
query62	664	607	537	537
query63	231	199	197	197
query64	2065	809	658	658
query65	
query66	1691	512	391	391
query67	29916	29902	29730	29730
query68	
query69	454	347	309	309
query70	979	958	969	958
query71	310	285	274	274
query72	3215	2750	2419	2419
query73	849	739	418	418
query74	5029	4880	4690	4690
query75	2757	2628	2312	2312
query76	2276	1122	800	800
query77	412	429	357	357
query78	12870	12881	12456	12456
query79	1505	982	714	714
query80	660	615	468	468
query81	452	279	236	236
query82	1332	156	119	119
query83	359	276	253	253
query84	255	143	112	112
query85	852	500	434	434
query86	380	334	313	313
query87	3406	3369	3183	3183
query88	3524	2670	2639	2639
query89	430	379	337	337
query90	1841	186	177	177
query91	175	169	134	134
query92	78	79	68	68
query93	966	946	544	544
query94	525	319	297	297
query95	674	486	354	354
query96	1023	797	328	328
query97	2716	2700	2570	2570
query98	239	233	234	233
query99	1139	1131	979	979
Total cold run time: 253270 ms
Total hot run time: 170906 ms

@hello-stephen
Copy link
Copy Markdown
Contributor Author

FE UT Coverage Report

Increment line coverage `` 🎉
Increment coverage report
Complete coverage report

@github-actions
Copy link
Copy Markdown
Contributor

PR approved by at least one committer and no changes requested.

@github-actions github-actions Bot added approved Indicates a PR has been approved by one committer. reviewed labels May 15, 2026
@github-actions
Copy link
Copy Markdown
Contributor

PR approved by anyone and no changes requested.

@hello-stephen hello-stephen merged commit db0fd32 into apache:master May 15, 2026
32 of 33 checks passed
github-actions Bot pushed a commit that referenced this pull request May 15, 2026
… resolution failure (#63278)

## Problem

The version `[3.21.11,)` in `fe/pom.xml` is a Maven version range, which
requires Maven to download `maven-metadata.xml` from **every configured
repository** and merge the results before selecting a version.

The Huawei OBS Maven repository
(`https://repo.huaweicloud.com/repository/maven/huaweicloudsdk/`) does
not carry this artifact at all (returns 404 for its metadata) or is not
stable. This causes `maven-remote-resources-plugin` to fail the entire
range resolution and report:

```
No versions are present in the repository for the artifact with a range [3.21.11,)
  com.huaweicloud:esdk-obs-java-bundle:jar:null
```

## Fix

Pin the version to the specific minimum `3.21.11`, which is available on
Maven Central (and its mirrors such as aliyunmaven).

With a fixed version, Maven resolves the artifact by trying repositories
one by one and succeeds as soon as any working repository (e.g.
aliyunmaven) responds — it no longer depends on the unstable Huawei OBS
repository for range resolution.

## Verification

`3.21.11` is confirmed present on Maven Central:
```
https://repo1.maven.org/maven2/com/huaweicloud/esdk-obs-java-bundle/3.21.11/
```

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
github-actions Bot pushed a commit that referenced this pull request May 15, 2026
… resolution failure (#63278)

## Problem

The version `[3.21.11,)` in `fe/pom.xml` is a Maven version range, which
requires Maven to download `maven-metadata.xml` from **every configured
repository** and merge the results before selecting a version.

The Huawei OBS Maven repository
(`https://repo.huaweicloud.com/repository/maven/huaweicloudsdk/`) does
not carry this artifact at all (returns 404 for its metadata) or is not
stable. This causes `maven-remote-resources-plugin` to fail the entire
range resolution and report:

```
No versions are present in the repository for the artifact with a range [3.21.11,)
  com.huaweicloud:esdk-obs-java-bundle:jar:null
```

## Fix

Pin the version to the specific minimum `3.21.11`, which is available on
Maven Central (and its mirrors such as aliyunmaven).

With a fixed version, Maven resolves the artifact by trying repositories
one by one and succeeds as soon as any working repository (e.g.
aliyunmaven) responds — it no longer depends on the unstable Huawei OBS
repository for range resolution.

## Verification

`3.21.11` is confirmed present on Maven Central:
```
https://repo1.maven.org/maven2/com/huaweicloud/esdk-obs-java-bundle/3.21.11/
```

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
@hello-stephen
Copy link
Copy Markdown
Contributor Author

FE Regression Coverage Report

Increment line coverage 0.00% (0/2) 🎉
Increment coverage report
Complete coverage report

morningman pushed a commit that referenced this pull request May 16, 2026
…ersion range resolution failure #63278 (#63283)

Cherry-picked from #63278

Co-authored-by: Dongyang Li <lidongyang@selectdb.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by one committer. dev/4.0.6-merged dev/4.1.x reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants